home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / bookmarks / bookmarksPanel.xul < prev    next >
Extensible Markup Language  |  2007-08-31  |  6KB  |  95 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- --> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://browser/content/bookmarks/bookmarks.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://browser/skin/bookmarks/bookmarksSidebar.css" type="text/css"?>
  6. <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
  7.  
  8. <!DOCTYPE page [
  9.   <!ENTITY % bookmarksDTD SYSTEM "chrome://browser/locale/bookmarks/bookmarks.dtd">
  10.   <!ENTITY % favoritesManagerDTD SYSTEM "chrome://flock/locale/favorites/favoritesManager.dtd">
  11.   %bookmarksDTD;
  12.   %favoritesManagerDTD;
  13. ]>
  14.  
  15. <page id="bookmarksPanel"
  16.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  17.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  18.         onload="onLoad_bmPanel()"
  19.         onunload="onUnload_bmPanel()">
  20.  
  21.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  22.   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  23.   <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  24.   <script type="application/x-javascript" src="chrome://browser/content/utilityOverlay.js"/>
  25.   <script type="application/x-javascript" src="chrome://global/content/contentAreaUtils.js"/>
  26.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
  27.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksPanel.js"/>
  28.   <script type="application/x-javascript" src="chrome://browser/content/flock/favorites/flockFavoritesUtils.js"/>
  29.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/onlineBookmarksSharing.js"/>
  30.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksCommonFeatures.js"/>
  31.   
  32.   
  33.   <?xml-stylesheet href="chrome://browser/content/flock/bindings/bindings.css" type="text/css"?>
  34.   <?xml-stylesheet href="chrome://browser/skin/flock/favorites/flockMediaFavoritesTree.css" type="text/css"?>
  35.   
  36.   <!-- bookmarks & edit commands -->
  37.   <commandset id="editMenuCommands"/>
  38.   <command id="cmd_bm_open"                oncommand="goDoCommand('cmd_bm_open');"/>
  39.   <command id="cmd_bm_openinnewwindow"     oncommand="goDoCommand('cmd_bm_openinnewwindow');"/>
  40.   <command id="cmd_bm_openinnewtab"        oncommand="goDoCommand('cmd_bm_openinnewtab');"/>
  41.   <command id="cmd_bm_openfolder"          oncommand="goDoCommand('cmd_bm_openfolder');"/>
  42.   <command id="cmd_bm_managefolder"        oncommand="goDoCommand('cmd_bm_managefolder');"/>
  43.   <command id="cmd_bm_newfolder"           oncommand="goDoCommand('cmd_bm_newfolder');"/>
  44.   <command id="cmd_bm_newbookmark"         oncommand="Components.classes['@flock.com/metrics-service;1'].getService(Components.interfaces.flockIMetricsService).reportCount('new favorite from sidebar');goDoCommand('cmd_bm_newbookmark');"/>
  45.   <command id="cmd_bm_newseparator"        oncommand="goDoCommand('cmd_bm_newseparator');"/>
  46.   <command id="cmd_bm_find"                oncommand="goDoCommand('cmd_bm_find');"/>
  47.   <command id="cmd_bm_properties"          oncommand="goDoCommand('cmd_bm_properties');"/>
  48.   <command id="cmd_bm_refreshlivemark"     oncommand="goDoCommand('cmd_bm_refreshlivemark');"/>
  49.   <command id="cmd_bm_refreshmicrosummary" oncommand="goDoCommand('cmd_bm_refreshmicrosummary');"/>
  50.   <command id="cmd_bm_sortbyname"          oncommand="goDoCommand('cmd_bm_sortbyname');"/>
  51.   
  52.   <hbox align="center" class="container" style="background: #ffa800">
  53.     <hbox class="inner-container align-center" flex="1">
  54.       <label value="&search.label;" accesskey="&search.accesskey;" control="search-box"/>
  55.       <textbox id="search-box" flex="1"
  56.                type="timed" timeout="500"
  57.                oncommand="search(this.value);"/>
  58.           <toolbarbutton id="fav-clear-button" oncommand="document.getElementById('search-box').value = '';
  59.                                       document.getElementById('bookmarks-view').searchBookmarks('');
  60.                                       document.getElementById('bookmarks-view-online').searchBookmarks('');"
  61.                     class="bkmk-clear-button"/>
  62.     </hbox>
  63.   </hbox>
  64.   <vbox class="container" flex="1" style="background-color: #CCCCCC;">
  65.     <slickExpander class="expander-tree-parent inner-container" label="&flock.favs.manager.localFavs;" open="false" id="web_pages" titleflex="0" persist="open,hidden">   
  66.       <bookmarks-tree id="bookmarks-view" type="single-column" flex="1"
  67.                       onkeypress="if (event.keyCode == 13) this.openItemKey();"
  68.                       ondraggesture="if (event.originalTarget.localName == 'treechildren') nsDragAndDrop.startDrag(event, this.DNDObserver);"
  69.                       ondragover="nsDragAndDrop.dragOver(event, this.DNDObserver);"
  70.                       ondrop="nsDragAndDrop.drop(event, this.DNDObserver);"
  71.                       onclick="this.openItemClick(event, 1);"/>
  72.     </slickExpander>
  73.     <splitter id="sidebar-splitter" class="chromeclass-extrachrome sidebar-splitter" align="center" flex="0">
  74.       <grippy class="sidebar-splitter-grippy"/>
  75.     </splitter>
  76.     <slickExpander class="expander-tree-parent inner-container" label="&flock.favs.manager.onlineFavs;" open="false" id="online_bookmarks" titleflex="0" persist="open,hidden">
  77.     
  78.       <deck id="onlineBookmarksDeck" selectedIndex="1" flex="1">
  79.         <bookmarks-tree id="bookmarks-view-online" type="online" flex="1"
  80.                         onkeypress="if (event.keyCode == 13) this.openItemKey();"
  81.                         ondraggesture="if (event.originalTarget.localName == 'treechildren') nsDragAndDrop.startDrag(event, this.DNDObserver);"
  82.                         ondragover="nsDragAndDrop.dragOver(event, this.DNDObserver);"
  83.                         ondrop="nsDragAndDrop.drop(event, this.DNDObserver);"
  84.                         onclick="this.openItemClick(event, 1);"/>
  85.         <vbox align="center">
  86.         <vbox />
  87.           <description value="&flock.favs.manager.onlineFavs.no;" />
  88.         </vbox>
  89.       </deck>
  90.       
  91.     </slickExpander>
  92.     <spacer class="css-spacer"/>
  93.   </vbox>
  94. </page>
  95.